import request from '@/utils/request'

// 获取列表
export const getOrders = (params) => {
  return request('/orders', { params })
}

// 修改
export const getModify = (id, data) => {
  return request.put(`/orders/${id}`, data)
}

// 物流信息
export const getLogistics = (id) => {
  return request.get(`/kuaidi/${id}`)
}
